package org.example.cdpcrpbackend.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Activity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private String content;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String place;
    private String cover;
    private String poster;  // json 数组
    private String method;
    private Integer score;
    private Integer departmentId;
    private String studentId;
    private Integer crpItemId;
}
